package org.apache.ibatis.common.annotations;

import org.apache.ibatis.common.type.JdbcType;
import org.apache.ibatis.common.type.TypeHandler;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Name Arg
 * @Description: [配置] 构造器参数
 * @Version v1.0.0
 * @Author: lichao
 * @Date: 2024-05-09 13:54:03
 **/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({})
public @interface Arg {

    boolean id() default false;

    String name() default "";

    String column() default "";

    String columnPrefix() default "";

    Class<?> javaType() default void.class;

    JdbcType jdbcType() default JdbcType.UNDEFINED;

    Class<? extends TypeHandler> typeHandler() default UnknownTypeHandler.class;

    String select() default "";

    String resultMap() default "";

}
